package cn.edu.tju.elm.model.dto;

import cn.edu.tju.elm.model.OrderStatus;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

public class OrderDTO {
    private Long id;
    private Long customerId;
    private String customerName;
    private Long businessId;
    private String businessName;
    private LocalDateTime orderDate;
    private BigDecimal orderTotal;
    private Integer orderState;
    private String orderStateDisplay;
    private Long addressId;
    private String addressDetail;
    private List<OrderDetailetDTO> orderDetailets;
    
    // 构造方法
    public OrderDTO() {}
    
    // getters和setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    
    public Long getCustomerId() { return customerId; }
    public void setCustomerId(Long customerId) { this.customerId = customerId; }
    
    public String getCustomerName() { return customerName; }
    public void setCustomerName(String customerName) { this.customerName = customerName; }
    
    public Long getBusinessId() { return businessId; }
    public void setBusinessId(Long businessId) { this.businessId = businessId; }
    
    public String getBusinessName() { return businessName; }
    public void setBusinessName(String businessName) { this.businessName = businessName; }
    
    public LocalDateTime getOrderDate() { return orderDate; }
    public void setOrderDate(LocalDateTime orderDate) { this.orderDate = orderDate; }
    
    public BigDecimal getOrderTotal() { return orderTotal; }
    public void setOrderTotal(BigDecimal orderTotal) { this.orderTotal = orderTotal; }
    
    public Integer getOrderState() { return orderState; }
    public void setOrderState(Integer orderState) { this.orderState = orderState; }
    
    public String getOrderStateDisplay() { return orderStateDisplay; }
    public void setOrderStateDisplay(String orderStateDisplay) { this.orderStateDisplay = orderStateDisplay; }
    
    public Long getAddressId() { return addressId; }
    public void setAddressId(Long addressId) { this.addressId = addressId; }
    
    public String getAddressDetail() { return addressDetail; }
    public void setAddressDetail(String addressDetail) { this.addressDetail = addressDetail; }
    
    public List<OrderDetailetDTO> getOrderDetailets() { return orderDetailets; }
    public void setOrderDetailets(List<OrderDetailetDTO> orderDetailets) { this.orderDetailets = orderDetailets; }
}